![]() Power shutoff method for TCP/IP network device and recording medium recording the program therefor
专利摘要:
According to the power shutoff method for the TCP/IP network device, the connection status of the terminal connected to the TCP/IP network is monitored, whether the power can be shut off or not is judged based on the result of the monitoring, and the power for the terminal is shut off when it is judged acceptable to shut off the power in the judgment step. 公开号:US20010003164A1 申请号:US09/726,311 申请日:2000-12-01 公开日:2001-06-07 发明作者:Takuya Murakami 申请人:NEC Corp; IPC主号:G06F1-26
专利说明:
[0001] 1. Field of the Invention [0001] [0002] The present invention relates to a power shutoff method to control shutoff of the power for the terminal connected to the TCP/IP network and to a recording medium recording the program therefor. [0002] [0003] 2. Description of the Related Art [0003] [0004] With recent diffusion of the Internet, many people desire to access the Internet from portable terminals such as handy phones and PDAs to enjoy services such as E-mails and WWW. There are some ways to connect the Internet from a portable terminal. One of them is a direct connection method to have a TCP/IP protocol stack in the portable terminal for direct connection to the Internet. [0004] [0005] Since the portable terminal is usually driven by batteries, it is necessary to minimize the consumption power to extend the operation hours. The power is shut off while the terminal is not in use, but it is preferable to maintain the connection with the server even though the power is temporarily shut off. [0005] [0006] When the TCP is used, however, TCP may send and receive data even while the application software is not making any data communications. If the power is shut off during such period, the connection with the server may be lost. To solve this problem, a protocol converter called “gateway” has been conventionally used for connection with the Internet from a portable terminal. According to the Japanese Patent Application Laid-open (Kokai) No. Heisei 10-69446, for example, a device called the front end box serves as a relay for restart after power shutoff. [0006] [0007] However, the conventional invention above had a drawback that the use of the gateway makes the entire system expensive and also makes its control complicated. [0007] SUMMARY OF THE INVENTION [0008] The present invention has been made under the circumstances above. It is an object of the present invention to provide, when the TCP/IP is directly incorporated to the portable terminal, a method to shut off the power without the need of gateway and with maintaining the connection with the server as well as to provide a recording medium containing the program therefor. [0008] [0009] According to one aspect of the invention, a power shutoff method for the TCP/IP network device comprising the steps of [0009] [0010] a step to monitor the connection status of the terminal connected to the TCP/IP network and judge whether the power for the terminal can be shut off according to the result of the monitoring, and [0010] [0011] a step to shut off the power for the terminal when it is judged acceptable to shut off the power in the judgment step. [0011] [0012] Thus, according to the present invention, whether the power of the terminal can be shut off or not is judged based on the connection status of the terminal connected to the TCP/IP network and, when it is judged possible, the power for the terminal is shut off. [0012] [0013] In the preferred construction, a power shutoff method for the TCP/IP network device further comprises [0013] [0014] a step to provide a power shutoff permit notice to the terminal when the power shutoff for the terminal is judged acceptable, and [0014] [0015] a step to shut off the power for the terminal upon receipt of the power shutoff permit notice. [0015] [0016] In another preferred construction, the power shutoff is judged acceptable in the judgment step [0016] [0017] when the connection status satisfies all of these conditions: [0017] [0018] TCP send buffer is empty; [0018] [0019] Delayed ACK is not in operation; and [0019] [0020] TCP status is not any of SYN_RCVD, SYN_SENT, LAST_ACK, FIN_WAIT_[0020] 1 and CLOSING. [0021] In another preferred construction, the connection status of the terminal connected to the TCP/IP network is monitored all the time and the judgment step is executed all the time. [0021] [0022] In another preferred construction, the judgment step is executed only when the power shutoff is requested by the application of the terminal. [0022] [0023] In another preferred construction, the terminal is a portable terminal. [0023] [0024] According to another aspect of the invention, a computer readable memory storing the program which controls the computer and shuts off the power for the TCP/IP network device, [0024] [0025] the program [0025] [0026] monitoring the connection status of the terminal connected to the TCP/IP network and judging whether the power for the terminal can be shut off according to the result of the monitoring, and [0026] [0027] executing the power shutoff for the terminal when it is judged acceptable to shut off the power in the judgment step. [0027] [0028] Other objects, features and advantages of the present invention will become clear from the detailed description given herebelow. [0028] BRIEF DESCRIPTION OF THE DRAWINGS [0029] The present invention will be understood more fully from the detailed description given herebelow and from the accompanying drawings of the preferred embodiment of the invention, which, however, should not be taken to be limitative to the invention, but are for explanation and understanding only. [0029] [0030] In the drawings: [0030] [0031] FIG. 1 is a block diagram showing an example of the portable communication system to which the power shutoff method according to an embodiment of the present invention is applied; [0031] [0032] FIG. 2 is a flowchart showing the operation of the first embodiment of the present invention; [0032] [0033] FIG. 3 is a flowchart showing the operation of another embodiment of the present invention. [0033] DESCRIPTION OF THE PREFERRED EMBODIMENT [0034] The preferred embodiment of the present invention will be discussed hereinafter in detail with reference to the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be obvious, however, to those skilled in the art that the present invention may be practiced without these specific details. In other instance, well-known structures are not shown in detail in order to unnecessary obscure the present invention. [0034] [0035] The power shutoff method of the TCP/IP network device according to the present invention enables temporary power shutoff with maintaining the TCP connection of the network device using the TCP/IP. By this method, the power consumption of the device while the network is not used can be minimized. [0035] [0036] To secure the data distribution, TCP makes internal operations, which are invisible from the application software. For example, data sending is necessarily followed by the acknowledgement(ACK) from the other (receiving) party, but this operation is processed inside of TCP and is not visible from the application software. Connection processing and disconnection processing at TCP also involve some data communications inside. Power shutoff during such communications results in abnormal end at the other party. [0036] [0037] In contrast, according to the method of this embodiment, the device is always monitoring the TCP status to maintain the TCP connection. When the TCP becomes free from any data communications inside as described above, the device issues a notice to allow power shutoff to the application. Thus, the device power can be safely shut off without losing the TCP connection. [0037] [0038] FIG. 1 shows a block diagram showing an example of the portable communication system to which the power shutoff method according to a first embodiment is applied. [0038] [0039] A portable terminal [0039] 10 is connected to a server 20 via a TCP/IP network 30. A terminal application 11 running on the portable terminal 10 uses a TCP/IP protocol stack 12 to communicate with a server application 21 running on the server 20. [0040] The TCP/IP protocol stack [0040] 12 can control several connections 14. A TCP monitoring section 13 is the software to monitor these connections 14. [0041] Referring to the flowchart of FIG. 2, the operation of the first embodiment having the configuration as described above will be explained below. [0041] [0042] The TCP monitoring section [0042] 13 is always monitoring all of the connections 14 in operation within the TCP/IP protocol (Step 201). It judges whether all connections are in the “Power shutoff acceptable status” (Step 205). After all connections are judged to be in the “Power shutoff acceptable status”, it provides a power shutoff permit notice to the terminal application 11 to allow power shutoff (Step 206). [0043] At Step [0043] 205, whether a connection is in the “Power shutoff acceptable status” or not is judged by checking whether the connection satisfies all of these three conditions below. [0044] 1) TCP send buffer is empty (Step [0044] 202) When the application sends data, the TCP once stores the data in the TCP's send buffer and makes sending. Then, when it receives acknowledgement (ACK) from the other (receiving) party, it deletes the data stored in the send buffer. [0045] Therefore, if the TCP send buffer is empty, no acknowledgement will be sent from the receiving party. In this case, the power can be shut off. [0045] [0046] 2) Delayed ACK is not in operation (Step [0046] 203) Upon receipt of data from the sending party, the TCP always sends back the acknowledgement. If it does not send back the acknowledgement, the other (sending) party, which is not notified of the receipt of data, will send the data again. [0047] To prevent excessive acknowledgement sending, the TCP sometimes delays sending of the acknowledgement. This is called “Delayed ACK”. If the power is shut off while this mechanism is working, the acknowledgement is not sent and the sending party sends the data again, which finally results in loss of connection. [0047] [0048] Thus, the power can be shut off when the delayed ACK is not in operation. [0048] [0049] 3) The TCP status is not SYN_RCVD, SYN_SENT, LAST_ACK, FIN_WAIT_[0049] 1 or CLOSING (Step 204). [0050] For the TCP connection, there are [0050] 11 statuses: CLOSED, LISTEN, SYN_RCVD, SYN_SENT, ESTABLISHED, TIME_WAIT. [0051] Out of these, five statuses (SYN_RCVD, SYN_SENT, LAST_ACK, FIN_WAIT_[0051] 1 and CLOSING) are waiting for acknowledgement from the other party. If the power is shut off in these statuses, the TCP cannot receive the acknowledgement from the other party and cannot maintain the connection. [0052] If all of these three conditions are satisfied, the power can be shut off. Upon receipt of the power shutoff permit notice to allow power shutoff from the TCP monitoring section [0052] 13, the terminal application 11 shuts down the power. [0053] Then, another embodiment of the present invention will be described below. [0053] [0054] The specific configuration is not limited to the one described in the above embodiment and it can be modified without departing from the scope and spirit of the present invention. [0054] [0055] In the first embodiment, for example, the TCP monitoring section [0055] 13 is always monitoring the TCP/IP and provides a notice to the terminal application 11 when the power shutoff becomes possible. Oppositely, however, the system can be designed so that, when the terminal application 11 desires power shutoff, it inquires the TCP monitoring section 13 whether the power can be shut off and the TCP/IP is monitored at such timings. According to this method, it is not necessary to monitor the TCP/IP all the time. [0056] The flowchart of FIG. 3 shows the operation of the above embodiment in which the terminal application [0056] 11 makes inquiry to the TCP monitoring section 13, when power shutoff is desired, to see whether the power can be shut off. As shown in the figure, the TCP monitoring section 13 here makes judgment whether the power can be shut off when the terminal application 11 inquires about the possibility of power shutoff (Step 301). The processes from Step 302 to Step 306 are the same as those from Step 202 to 206 in FIG. 2 and the explanation for them is omitted. [0057] The above embodiment shows the method to minimize the power consumption of the portable terminal [0057] 10 by incorporating the TCP monitoring in the portable terminal 10. This method can be used in all TCP/IP network devices using the TCP. [0058] The power shutoff method for the TCP/IP network device according to the present invention can be achieved by hardware, of course, but it can be also achieved by computer programs having the applicable functions loaded to the memory in the computer processor. Such computer programs are stored in the magnetic disk, semiconductor memory or other recording medium. Loaded to the computer processor from the recording medium, such programs achieve the functions described above by controlling the operation of the computer processor. [0058] [0059] According to the present invention, the power consumption of the device can be minimized by shutting down the power for the device with maintaining the TCP connection. This becomes possible because the power can be shut off with maintaining the TCP connection by monitoring of the TCP connection status for all the time and checking to see whether or not the power can be shut off. [0059] [0060] Although the invention has been illustrated and described with respect to exemplary embodiment thereof, it should be understood by those skilled in the art that the foregoing and various other changes, omissions and additions may be made therein and thereto, without departing from the spirit and scope of the present invention. Therefore, the present invention should not be understood as limited to the specific embodiment set out above but to include all possible embodiments which can be embodies within a scope encompassed and equivalents thereof with respect to the feature set out in the appended claims. [0060]
权利要求:
Claims (12) [1" id="US-20010003164-A1-CLM-00001] 1. A power shutoff method for the TCP/IP network device comprising the steps of: a step to monitor the connection status of the terminal connected to the TCP/IP network and judge whether the power for said terminal can be shut off according to the result of said monitoring; and a step to shut off the power for said terminal when it is judged acceptable to shut off the power in said judgment step. [2" id="US-20010003164-A1-CLM-00002] 2. A power shutoff method for the TCP/IP network device as set forth in claim 1 further comprising: a step to provide a power shutoff permit notice to said terminal when the power shutoff for said terminal is judged acceptable, and a step to shut off the power for said terminal upon receipt of said power shutoff permit notice. [3" id="US-20010003164-A1-CLM-00003] 3. A power shutoff method for the TCP/IP network device as set forth in claim 1 , wherein the power shutoff is judged acceptable in said judgment step when said connection status satisfies all of these conditions: TCP send buffer is empty; Delayed ACK is not in operation; and TCP status is not any of SYN_RCVD, SYN_SENT, LAST_ACK, FIN_WAIT_1 and CLOSING. [4" id="US-20010003164-A1-CLM-00004] 4. A power shutoff method for the TCP/IP network device as set forth in claim 1 , wherein the connection status of the terminal connected to the TCP/IP network is monitored all the time and said judgment step is executed all the time. [5" id="US-20010003164-A1-CLM-00005] 5. A power shutoff method for the TCP/IP network device as set forth in claim 1 , wherein said judgment step is executed only when the power shutoff is requested by the application of said terminal. [6" id="US-20010003164-A1-CLM-00006] 6. A power shutoff method for the TCP/IP network device as set forth in claim 1 , wherein said terminal is a portable terminal. [7" id="US-20010003164-A1-CLM-00007] 7. A computer readable memory storing the program which controls the computer and shuts off the power for the TCP/IP network device, said program monitoring the connection status of the terminal connected to the TCP/IP network and judging whether the power for said terminal can be shut off according to the result of said monitoring, and executing the power shutoff for said terminal when it is judged acceptable to shut off the power in said judgment step. [8" id="US-20010003164-A1-CLM-00008] 8. A computer readable memory storing the program for power shutoff processing of the TCP/IP network device as set forth in claim 7 , wherein said program provides a power shutoff permit notice to said terminal when it is judged acceptable to shut off the power for said terminal and the power shutoff processing is executed for said terminal upon receipt of said power shutoff permit notice. [9" id="US-20010003164-A1-CLM-00009] 9. A computer readable memory storing the program for power shutoff processing of the TCP/IP network device as set forth in claim 7 , wherein said program judges it acceptable to shut off the power when said connection status satisfies all of these conditions: TCP send buffer is empty; Delayed ACK is not in operation; and TCP status is not any of SYN_RCVD, SYN-SENT, LAST_ACK, FIN WAIT1 and CLOSING. [10" id="US-20010003164-A1-CLM-00010] 10. A computer readable memory storing the program for power shutoff processing of the TCP/IP network device as set forth in claim 7 , wherein the connection status of the terminal connected to the TCP/IP network is monitored all the time and said judgment step is executed all the time. [11" id="US-20010003164-A1-CLM-00011] 11. A computer readable memory storing the program for power shutoff processing of the TCP/IP network device as set forth in claim 7 , wherein said judgment step is executed only when the power shutoff is requested by the application of said terminal. [12" id="US-20010003164-A1-CLM-00012] 12. A computer readable memory storing the program for power shutoff processing of the TCP/IP network device as set forth in claim 7 , wherein said terminal is a portable terminal.
类似技术:
公开号 | 公开日 | 专利标题 JP3413788B2|2003-06-09|Communication method having communication protocol for performing flow control between layers and data communication terminal US8271658B1|2012-09-18|Method and apparatus for a client connection manager KR100872254B1|2008-12-05|System for low power operation of wireless lan interfaces US6226676B1|2001-05-01|Connection establishment and termination in a mixed protocol network TW391105B|2000-05-21|Means and method for establishing an always connected link to mobile computers CN101069144B|2011-05-25|Computer and method for on-demand network access control EP1605663B1|2007-08-01|Method for re-establishing a session of an IMPS client in a mobile terminal US7864779B2|2011-01-04|Internet service synchronization method for mobile communication terminal US6760853B2|2004-07-06|Power shutoff method for TCP/IP network device and recording medium recording the program therefor US20060053275A1|2006-03-09|Network interface sharing methods and apparatuses that support kernel mode data traffic and user mode data traffic CN100421431C|2008-09-24|Method for realizing instant message communication US7111067B2|2006-09-19|Managing access to a network EP2176989B1|2015-06-17|Method of preventing tcp-based denial-of-service attacks on mobile devices US7089311B2|2006-08-08|Methods, systems and computer program products for resuming SNA application-client communications after loss of an IP network connection Zenel et al.1997|General purpose proxies: Solved and unsolved problems EP1511273B1|2006-08-30|Packet receiving method for use in a mobile terminal US7562109B2|2009-07-14|Connectivity confirmation method for network storage device and host computer US20120144036A1|2012-06-07|Network location based processing of data communication connection requests JP3231657B2|2001-11-26|Method for establishing session between terminals using network, remote terminal, local terminal, and recording medium US7069313B2|2006-06-27|Methods and systems for preventing socket flooding during denial of service attacks US20100017799A1|2010-01-21|System and method for adding local resources for use by a mobile agent object KR20060096498A|2006-09-11|Method and system for providing service to wireless devices operating in a power saving mode US6834305B1|2004-12-21|System and method for automatically connecting local and remote data processing systems JP4681589B2|2011-05-11|Network connection control method, program, and computer JPH114259A|1999-01-06|Virtual connection communication equipment and communication method
同族专利:
公开号 | 公开日 JP2001168937A|2001-06-22| JP3436218B2|2003-08-11| US6760853B2|2004-07-06|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题 US6052565A|1996-07-03|2000-04-18|Kabushiki Kaisha Toshiba|Mobile communication terminal apparatus with data communication function| US5949974A|1996-07-23|1999-09-07|Ewing; Carrell W.|System for reading the status and for controlling the power supplies of appliances connected to computer networks| US6425040B1|1998-06-03|2002-07-23|Kabushiki Kaisha Toshiba|LAN docker unlocking system|EP1453275A1|2003-02-28|2004-09-01|Openwave Systems Inc.|Confirmation of delivery of content to an HTTP/TCP device| US20050180419A1|2004-02-13|2005-08-18|Hyoung-Joon Park|Managing transmission control protocolconnections| US20070016813A1|2002-08-09|2007-01-18|Aisin Aw Co., Ltd.|Power management system for a communication device| US20090300381A1|2008-06-03|2009-12-03|Chih-Wei Chen|Thin client and power management method thereof| US9654988B2|2012-02-12|2017-05-16|Elta Systems Ltd.|Add-on system and methods for spatial suppression of interference in wireless communication networks| CN106790611A|2016-12-29|2017-05-31|上海科勒电子科技有限公司|The monitoring method of internet of things equipment, supervising device and monitoring system| CN107124435A|2017-07-06|2017-09-01|济南浪潮高新科技投资发展有限公司|A kind of TCP message encrypted circuit and method| US10412198B1|2016-10-27|2019-09-10|F5 Networks, Inc.|Methods for improved transmission control protocolperformance visibility and devices thereof| US11223689B1|2018-01-05|2022-01-11|F5 Networks, Inc.|Methods for multipath transmission control protocolbased session migration and devices thereof|JPS6286401A|1985-10-12|1987-04-20|Fujitsu Ltd|Power supply control system| JPH0242842A|1988-08-01|1990-02-13|Nec Corp|Automatic power source interrupting system| US5727142A|1996-05-03|1998-03-10|International Business Machines Corporation|Method for a non-disruptive host connection switch after detection of an error condition or during a host outage or failure| JPH1155354A|1997-07-29|1999-02-26|Toshiba Corp|Cable modem device| JPH11110089A|1997-10-06|1999-04-23|Toshiba Corp|Computer system and network controller used by same computer system|JP5377091B2|2009-06-05|2013-12-25|キヤノン株式会社|Information processing apparatus and control method thereof|
法律状态:
2000-12-01| AS| Assignment|Owner name: NEC CORPORATION, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MURAKAMI, TAKUYA;REEL/FRAME:011323/0247 Effective date: 20001124 | 2004-06-17| STCF| Information on status: patent grant|Free format text: PATENTED CASE | 2007-12-17| FPAY| Fee payment|Year of fee payment: 4 | 2012-02-20| REMI| Maintenance fee reminder mailed| 2012-03-28| FPAY| Fee payment|Year of fee payment: 8 | 2012-03-28| SULP| Surcharge for late payment|Year of fee payment: 7 | 2012-05-25| AS| Assignment|Owner name: RAKUTEN, INC., JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:NEC CORPORATION;REEL/FRAME:028273/0933 Effective date: 20120514 | 2015-12-17| AS| Assignment|Owner name: RAKUTEN, INC., JAPAN Free format text: CHANGE OF ADDRESS;ASSIGNOR:RAKUTEN, INC.;REEL/FRAME:037751/0006 Effective date: 20150824 | 2015-12-23| FPAY| Fee payment|Year of fee payment: 12 | 2021-12-06| AS| Assignment|Owner name: RAKUTEN GROUP, INC., JAPAN Free format text: CHANGE OF NAME;ASSIGNOR:RAKUTEN, INC.;REEL/FRAME:058314/0657 Effective date: 20210901 |
优先权:
[返回顶部]
申请号 | 申请日 | 专利标题 JP34534399A|JP3436218B2|1999-12-03|1999-12-03|Method for shutting down power of TCP / IP network device and recording medium recording the program| JP11-345343||1999-12-03|| 相关专利
Sulfonates, polymers, resist compositions and patterning process
Washing machine
Washing machine
Device for fixture finishing and tension adjusting of membrane
Structure for Equipping Band in a Plane Cathode Ray Tube
Process for preparation of 7 alpha-carboxyl 9, 11-epoxy steroids and intermediates useful therein an
国家/地区
|